package com.wuyou.designPatterns.bridge.function;

import com.wuyou.designPatterns.bridge.impl.DisplayImpl;

/**
 * 功能层次
 */
public class RandomDisplay extends Display{

    public RandomDisplay(DisplayImpl impl) {
        super(impl);
    }


    public void randomDisplay(int times){
        for(int i=0;i<times;i++){
            display();
        }
    }
}
